package com.cxx.service;

import com.cxx.pojo.Blog;
import com.cxx.pojo.Comments;
import com.cxx.pojo.Replay;

import java.util.List;

public interface BlogsService {
    void addBlogs(Blog blog);

    List<Blog> blogs(String account);

    List<Blog> blogsByTag(String account, String tag);

    List<Blog> blogsList();

    Blog blogById(Integer id);

    void writeComment(Comments comments);

    List<Comments> getComments(Integer id);

    void writeReplay(Replay replay);
}
